* filelock.c (lock_file_1, lock_file): Don't blindly alloca long name;
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 16:48:19 +0000 (09:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 16:48:19 +0000 (09:48 -0700)
commit326f0d3b68c96877f4423866f3f40f6eb7054c89
tree937da0303f92b75b2adf03cbcace1ca0feccb6d4
parent4ba074ae08b2348623ee620d6e7adf8ff5a8aa98
* filelock.c (lock_file_1, lock_file): Don't blindly alloca long name;

use SAFE_ALLOCA instead.  Use esprintf to avoid int-overflow issues.
src/ChangeLog
src/filelock.c